import 'package:flutter/material.dart';
import 'package:get/get.dart';

class ColorConfig {
  ColorConfig._();

  // 主题色
  static const Color app_main = Color(0xFF51813A);
  // 背景色
  static const Color bg_color = Color(0xFFF8F8F8);
  // 分割线
  static const Color diver_color = Color(0xFF787878);

  static const Color white = Color(0xFFFFFFFF);
  static const Color text_label = Color(0xFF333333);

  // 卡片
  static const Color card_color = Color.fromARGB(255, 255, 255, 255);
  static const Color dark_card_color = Color.fromARGB(255, 18, 17, 17);

  static const Color headline4_color = Color.fromARGB(255, 39, 38, 40);
  static const Color dark_headline4_color = Color.fromARGB(255, 254, 254, 254);

  static const Color headline1_color = Color.fromARGB(255, 40, 40, 42);
  static const Color dark_headline1_color = Color.fromARGB(255, 254, 254, 254);

  static const Color body1_txt_color = Color.fromARGB(255, 49, 49, 50);
  static Color dark_body1_txt_color = Colors.white.withOpacity(0.85);

  static const Color body2_txt_color = Color.fromARGB(255, 51, 51, 53);
  static Color dark_body2_txt_color = Colors.white.withOpacity(0.85);

  static const Color subtitle_color = Color(0xFFafafaf);

  static const Color shadow_color = Color.fromRGBO(235, 237, 242, 0.5);
  static const Color shadow_color_dark = Color(0x61000000);

  static Color indicator_color = const Color.fromARGB(255, 235, 80, 72);

  static Color btn_border_color = const Color(0xFFf3928d);

  static const Color blue = Color.fromARGB(255, 90, 124, 170);
  static const Color blue_dark = Color.fromARGB(255, 77, 147, 215);

  static const Color pink = Color.fromARGB(255, 239, 210, 210);

  static const Color white_dark = Color(0xFFF0F0F0);

  static const Color text_label_gray = Colors.white;
  static const Color text_dark_label_gray = Color.fromARGB(255, 207, 207, 207);

  static const Color subtitle_text = Color(0xFF1F1F1F);
  static Color dark_subtitle_text = Colors.white.withOpacity(0.65);

  static const Color icon_color = Color.fromARGB(255, 39, 39, 39);
  static Color dark_icon_color = Colors.white.withOpacity(0.85);
}
